package com.itcodai.service;

import com.itcodai.entity.User;

import java.util.List;

/**
 * @author c-fanqj
 * @date 2023/3/25
 * @apiNote
 */
public interface UserService {

    User getUser(Long id);

    List<User> getAll();

    User getUserByName(String name);

    User getUser(Long id, String name);

    void insertUser(User user);

    void insertUser2(User user) throws Exception;

    void insertUser3(User user);

    void insertUser4(User user);

    User getUser2();

    User getUser();

}
